<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../课件/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				$('tr:even').css('background','red');
				$('tr:odd').css('background','blue');
			})
		</script>
	</head>
	<body>
		<table border="" cellspacing="" cellpadding="">
			<tr><th>Header</th></tr>
			<tr><td>Data</td></tr>
			<tr><td>Data</td></tr>
			<tr><td>Data</td></tr>
			<tr><td>Data</td></tr>
		</table>
	</body>
</html>
